package com.frejoys.common.vo.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

// 地区层级
@Data
public class AreaItemVo {

    @Schema(type = "String", name = "text", description = "名称", required = true)
    private String text;

    @Schema(type = "String", name = "value", description = "编号", required = true)
    private String value;

    @Schema(type = "List<AreaItemVo>", name = "children", description = "包含层级", required = true)
    private List<AreaItemVo> children;

}
